package com.wyy.service;

import com.wyy.beans.Driver;
import com.wyy.common.Result;

import java.util.List;

public interface DriverService {

    Result<Driver> addDriver(Driver driver);

    Result<Driver> deleteDriver(long id);

    Result<Driver> updateDriver(Driver driver);

    Result<Driver> getDriver(long id);

    Result<List<Driver>> getDrivers();

}
